﻿@{
    ViewBag.Title = "Doc";
    Layout = null;
}


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
    <script src="@Url.Content("~/Scripts/FlexPaper/js/jquery.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/FlexPaper/js/flexpaper_flash.js")" type="text/javascript"></script>
    <script type="text/javascript">loadTOCNode(3, 'moreinformation');</script> 
</head>
<body>
   
    
        
<div align="center"> 
        <input type="hidden" id="fileid" value="@ViewBag.fileid"/>
        <div id="viewerPlaceHolder" style="height:620px"> 
        </div>
            <script type="text/javascript">
                var fileid = $("#fileid").val();
                var fileurl = '../../Content/files/swf/' + fileid + '.swf';
                var fp = new FlexPaperViewer(
            '../../Scripts/FlexPaper/FlexPaperViewer',
            'viewerPlaceHolder',
            {
                config: {
                    SwfFile: escape(fileurl),
                    Scale: 0.8,
                    ZoomTransition: "easeOut",
                    ZoomTime: 0.5,
                    ZoomInterval: 0.2,
                    FitPageOnLoad: true,
                    FitWidthOnLoad: false,
                    PrintEnabled: true,
                    FullScreenAsMaxWindow: false,
                    ProgressiveLoading: false,
                    MinZoomSize: 0.2,
                    MaxZoomSize: 5,
                    PrintToolsVisible: true,
                    ViewModeToolsVisible: true,
                    ZoomToolsVisible: true,
                    FullScreenVisible: true,
                    NavToolsVisible: true,
                    CursorToolsVisible: true,
                    SearchToolsVisible: true,

                    localeChain: "en_US"
                }
            }
            );
        </script>
    </div>
        
    

</body>
</html>